package com.baizhi.mapper;

import com.baizhi.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {
    void addUser(User user);
    void removeUser(Integer id);
    void updateUser(User user);
    User selectUserById(Integer id);
    List<User> selectAllUser(@Param("pageNum")Integer pageNum,@Param("pageSize")Integer pageSize);
    User selectUserByEmail(String email);
}
